3239bc1d194fd3465eb9c65a4875f37b9e011c83,examples/rest-assured-itest-java/src/test/java/io/restassured/itest/java/SSLITest.java,SSLITest,givenTrustStoreDefinedStaticallyWhenSpecifyingJksKeyStoreFileWithCorrectPasswordAllowsToUseSSL,#,59
Before Change
public void givenTrustStoreDefinedStaticallyWhenSpecifyingJksKeyStoreFileWithCorrectPasswordAllowsToUseSSL() throws Exception {
RestAssured.trustStore("jetty_localhost_client.jks", "test1234");
try {
RestAssured.expect().spec(helloWorldSpec()).get("https://localhost:8443/hello");
} finally {
RestAssured.reset();
}
After Change
public void givenTrustStoreDefinedStaticallyWhenSpecifyingJksKeyStoreFileWithCorrectPasswordAllowsToUseSSL() throws Exception {
RestAssured.trustStore("jetty_localhost_client.jks", "test1234");
try {
RestAssured.expect().spec(helloWorldSpec()).when().get("https://localhost:8443/hello");
} finally {
RestAssured.reset();
}